package com.duan.laugh.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.duan.laugh.upms.api.pojo.entity.Permission;

import java.util.List;

/**
 * 权限mapper
 *
 * @author duanjw
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据角色id查询权限
     *
     * @param roleIds
     * @return
     */
    List<Permission> selectPermissionListByRoleIds(String roleIds);
}
